<%@ include file="/inc/includes.jsp" %>

<center>

	<c:url var="imgRootUrl" value="/images" />
	<display:table name="competences" id="competence" pagesize="20" class="dtable" requestURI="#">
		<display:column class="id">
			<a href="delete/${competence.id}"
				onclick="return confirm('<spring:message code="button.confirmSuppress" />')">
				<img src="${imgRootUrl}/control_remove.jpg" border="0" width="50%" />
			</a>
		</display:column>
		<display:column class="id">
			<a href="view/${competence.id}">
				<img src="${imgRootUrl}/control_go.png" border="0" width="50%" />
			</a>
		</display:column>
		<display:column property="id" class="id" titleKey="field.num" sortable="true" href="viewCompetence.do" paramId="id" paramProperty="id" />
		<display:column property="matiere.categorie.nom" class="shorttext" titleKey="field.categorie" sortable="true" href="viewCategorie.do" paramId="id" paramProperty="matiere.categorie.id" />
		<display:column property="matiere.nom" class="shorttext" titleKey="field.matiere" sortable="true" href="viewMatiere.do" paramId="id" paramProperty="matiere.id" />
		<display:column property="nom" class="alignLeft" titleKey="field.nom" sortable="true" href="viewCompetence.do" paramId="id" paramProperty="id" />
	</display:table>

</center>
